package org.insist.best.codeGenerator.dao;

import org.insist.best.codeGenerator.vo.TableListItem;

import java.sql.ResultSet;
import java.sql.SQLException;

public class TableListItemMapper  {
    public TableListItem mapRow(ResultSet rs) throws SQLException {
        TableListItem listItem = new TableListItem();
        listItem.setTableName(rs.getString("tableName"));
        listItem.setTableComment(rs.getString("tableComment"));
        listItem.setCreateTime(rs.getString("createTime"));
        return listItem;
    }
}
